package models

import (
	"gitee.com/cjf8134/bbs_serve/internal/pkg/utils/constutil"
)

type Link struct {
	Model
	Title string `db:"title" json:"title"`
	Desc  string `db:"desc" json:"desc"`
	URL   string `db:"url" json:"url"`
}

func (Link) TableName() string {
	return constutil.TablePrefix + "link"
}
